import 'package:flutter/material.dart';

class moreitem extends StatelessWidget {
  const moreitem({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    double width = (MediaQuery.of(context).size.width - 40) * 0.5;
    return Row(
      crossAxisAlignment: CrossAxisAlignment.start,
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Container(
          margin: EdgeInsets.only(bottom: 15),
          width: width,
          decoration: BoxDecoration(),
          child: Column(
            children: [
              Container(
                height: 1.2 * width,
                width: width,
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(10),
                    color: Colors.yellow),
                child: ClipRRect(
                  borderRadius: BorderRadius.circular(10),
                  child: Image(
                      fit: BoxFit.cover,
                      image: NetworkImage(
                          'https://img1.baidu.com/it/u=42672324,3785118914&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=750')),
                ),
              ),
              Container(
                padding: EdgeInsets.only(top: 10),
                width: width,
                child: Text(
                  '越爷爷爷爷uu啊是吧悲剧啊芭莎',
                  maxLines: 2,
                  overflow: TextOverflow.ellipsis,
                  style: TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
                ),
              )
            ],
          ),
        ),
        Container(
          margin: EdgeInsets.only(bottom: 15),
          width: width,
          decoration: BoxDecoration(),
          child: Column(
            children: [
              Container(
                height: 1.2 * width,
                width: width,
                decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(10),
                    color: Colors.yellow),
                child: ClipRRect(
                  borderRadius: BorderRadius.circular(10),
                  child: Image(
                      fit: BoxFit.cover,
                      image: NetworkImage(
                          'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn15%2F213%2Fw2048h1365%2F20181102%2Fb74b-hnfikve8322015.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1650713554&t=b9bd728466be1ab4cce35c0d6a5a0fc6')),
                ),
              ),
              Container(
                padding: EdgeInsets.only(top: 10),
                width: width,
                child: Text(
                  '越爷爷爷爷uu啊是吧悲剧',
                  maxLines: 2,
                  overflow: TextOverflow.ellipsis,
                  style: TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
                ),
              )
            ],
          ),
        ),
      ],
    );
  }
}
